package org.example.repository.dialect.memory;

import org.example.repository.Entity;
import org.example.repository.Repository;
import org.example.repository.RepositoryFactory;
import org.example.repository.Schema;

public class InMemoryRepositoryFactory implements RepositoryFactory {

    public <T extends Entity<?>> Repository<T> createRepository(Schema schema) {
        return new InMemoryRepository<>(schema);
    }
}
